package com.boot.domain;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.io.Serializable;

/**
 * @author
 * @date 2025-07-28
 * @Description 测试 直接将属性值注入到对象中
 */
@Data
@ConfigurationProperties("car")
public class Car implements Serializable {
    private Integer cno ;
    private String cname ;
    private String color ;
    private Double price ;
}
